<template>
  <div class="total">
    共
    <span>
      {{ num }}
    </span>
    条
  </div>
</template>

<script setup lang="ts">
interface IProps {
  num: number;
}

defineOptions({
  name: 'Total',
});

const props = withDefaults(defineProps<IProps>(), {
  num: 0,
});
</script>

<style lang="less" scoped>
.total {
  height: 32px;
  line-height: 32px;
  font-size: 14px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: #aab2c0;

  span {
    color: #3f495b;
  }
}
</style>
